import React from "react";
import { Link, Outlet } from "react-router-dom";

console.log("首页文件被加载了");

const Home = () => {
  return (
    <>
      <div>这是首页页</div>
      <ul>
        <li>
          <Link to="/home/hot">热映</Link>
        </li>
        <li>
          <Link to="/home/cinema">影院</Link>
        </li>
      </ul>

      <hr />

      <Outlet />
    </>
  );
};

export default Home;
